<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html  xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理 - 易买网</title>
<link type="text/css" rel="stylesheet" href="../css/style.css" />
<script type="text/javascript" src="../scripts/function-manage.js"></script>
<script type="text/javascript" src="../scripts/jquery-1.8.3.js"></script>
</head>
<body>
<div id="header" class="wrap">
	<div id="logo"><img src="../images/logo.gif" /></div>
	<div class="help"><a href="../index.jsp">返回前台页面</a></div>
	<div class="navbar">
		<ul class="clearfix">
			<li class="current"><a href="index.jsp">首页</a></li>
			<li><a href="user.jsp" target="mainpage">用户</a></li>
			<li><a href="product.jsp" target="mainpage">商品</a></li>
			<li><a href="order.jsp" target="mainpage">订单</a></li>
			<li><a href="guestbook.jsp" target="mainpage">留言</a></li>
			<li><a href="news.jsp" target="mainpage">新闻</a></li>
		</ul>
	</div>
</div>
<div id="childNav">
	<div class="welcome wrap">
		管理员${Curr_User.username}您好,登录时间: ${datetime},欢迎回到管理后台。
	</div>
</div>
<div id="position" class="wrap">
	您现在的位置:<a href="index.jsp">易买网</a> &gt; 管理后台
</div>
<div id="main" class="wrap">
	<div id="menu-mng" class="lefter">
		<div class="box">
			<dl>
				<dt>用户管理</dt>
				<dd><em><a href="user-add.jsp" target="mainpage">新增</a></em><a href="../UserByPageServlet" target="mainpage">用户管理</a></dd>
				<dt>商品信息</dt>
				<dd><em><a href="../GetParentsServlet" target="mainpage">新增</a></em><a href="productClass.jsp" target="mainpage">分类管理</a></dd>
				<dd><em><a href="../AddProductServlet" target="mainpage">新增</a></em><a href="../productListServlet" target="mainpage">商品管理</a></dd>
				<dt>订单管理</dt>
				<dd><a href="order.jsp" target="mainpage">订单管理</a></dd>
				<dt>留言管理</dt>
				<dd><a href="../GetLeaveMessageServlet" target="mainpage">留言管理</a></dd>
				<dt>新闻管理</dt>
				<dd><em><a href="../ToNewsAddServlet" target="mainpage">新增</a></em><a href="news.jsp" target="mainpage">新闻管理</a></dd>
			</dl>
		</div>
	</div>
	</div>
	<div class="main">
		<iframe name="mainpage" id="mainpage" style="width: 1200px; border: none; height: 900px; position: relative; top: -10px;"></iframe>
	</div>
	<div class="clear"></div>
</div>
<div id="footer">
	Copyright &copy; 2018 云和数据 All Rights Reserved. 京ICP证1000001号
</div>
</body>
</html>
<script type="text/javascript">
    $(function () {
        var show = document.getElementById("show");
        setInterval(function() {
            var time = new Date();   // 程序计时的月从0开始取值后+1
            var m = time.getMonth() + 1;
            var t = time.getFullYear() + "-" + m + "-"
                + time.getDate() + " " + time.getHours() + ":"
                + time.getMinutes() + ":" + time.getSeconds();
            show.innerHTML = t;
        }, 1000);
    });

    $(function () {
		$("#mainpage").attr("src","welcome.html");
    });
</script>